const vuewz = {

        parts: ['table', 'query', 'menu', 'head', 'dialog', 'foot'],
        role: {},
        hiddenSearch: false,
        searchForm: {
            categoryDictId: '',
            typeDictId: '',
        },
        codeTypeList: ['Entity', 'Mapper','Service', 'Impl','Controller'],
        codeTypeToForm: [],
        systemTitle: '智能办公系统',
        dialogVisible: false,
        formData: {
            osDictId: '',
            deployTypeDictId: '',
            techTypeDictId: '',
            title: '',
            port: 3456 ,
            encryptPassword: 0,
            username: 'root',
            password: '123456',
            url: 'https://baidu.com',
            domain: 'baidu.com',
            updatePasswordFlag: 0,
        },

        passwordForm: {
            username: '',
            password: '',
        },
        dialogVisiblePassword: false,

        rules: {

            categoryDictId: [
                { required: true, message: '请选择发布平台', trigger: 'change' },
            ],
            typeDictId: [
                { required: true, message: '请选择部署方式', trigger: 'change' },
            ],
            icon: [
                { required: true, message: '请输入图标', trigger: 'change' },
                { min: 2, max: 30, message: '图标长度在 2 到 30 个字符之间', trigger: 'change' },
                { pattern: /^[^\s]+$/, message: '图标不能包含空格', trigger: 'change' },
            ],
            title: [
                { required: true, message: '请输入标题', trigger: 'change' },
                { min: 2, max: 30, message: '标题长度在 2 到 30 个字符之间', trigger: 'change' },
                { pattern: /^[^\s]+$/, message: '标题不能包含空格', trigger: 'change' },
            ],
            url: [
                { required: true, message: '请输入链接', trigger: 'change' },
                { min: 10, max: 300, message: '链接长度在 10 到 300 个字符之间', trigger: 'change' },
                { pattern: /^[^\s]+$/, message: '链接不能包含空格', trigger: 'change' },
            ],
            detail: [
                { required: true, message: '请输入关键词', trigger: 'change' },
                { min: 2, max: 30, message: '关键词长度在 2 到 30 个字符之间', trigger: 'change' },
                { pattern: /^[^\s]+$/, message: '关键词不能包含空格', trigger: 'change' },
            ],
        },

        menuList: [],

        activeMenu: '1',  // 修改为默认选中首页
        openMenu: [],
        isCollapse: false,  // 控制菜单折叠状态
        chartTimeRange: '7',
        notices: [],
        todoFilter: 'all',
        todos: [],
        tableData: [],
        pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 100
        },
        value2: [new Date(2025, 1, 1, 0, 0, 0), new Date(2025, 2, 11, 23, 59, 59)],
        value1: '',

        footerList: [
            {
                title: '关于我们',
                tel: '威海市智慧社区管理平台',
                email: '专注于提供智能化社区解决方案'
            },
            {
                title: '联系方式',
                tel: '电话：400-888-9999',
                email: '邮箱：support@weihai.gov.cn'
            },
            {
                title: '备案信息',
                tel: 'Copyright © 2024 威海市智慧社区',
                email: '鲁ICP备12345678号-1'
            }
        ],


}
